//
//  HBQHeaderModel.h
//  HelloBeeQuick
//
//  Created by LiYiLin on 16/8/20.
//  Copyright © 2016年 LiYiLin. All rights reserved.
//

#import <Foundation/Foundation.h>

#pragma mark - 轮播器部分
@interface HBQHeaderModel : NSObject

/*
 {
    id = 20575;
    img = "http://img01.bqstatic.com/upload/activity/activity_v4_20575_1452217080_focus.jpg@90Q";
    name = "\U5e74\U8d27\U5927\U96c6";
    toURL = "http://www.sfbest.com/html/zt/xianguoxinyu/index.html?device=2";
 },
 
 */

@property (nonatomic, assign) NSInteger id;
@property (nonatomic, copy)   NSString * img;
@property (nonatomic, copy)   NSString * name;
@property (nonatomic, copy)   NSString * toURL;


+ (instancetype)initWithDic:(NSDictionary *)dic;
+ (NSArray *)dataWithArray:(NSArray *)dtoArray;

@end

/*  ============================================================  */

#pragma mark - 按钮部分数据 -
@interface HBQHomeIconsModel : NSObject

/*
 
 {
    customURL = "http://m.beequick.cn/show/active?id=20206&locationHash=7ca258Avt44fDvvj2cZdEGf4nzjyAg95fITJXcnfccCKbDJW6SdFHgelg&zchtid=10309&location_time=1453779210&show_reload=1&hide_cart=1&activitygroup=zhuanpan&name=%E6%8A%BD%E5%A5%96&bigids=2%2C0&cityid=2&addrid=4825569&zchtauth=0660c8G2eHuPa14mhxZ%252FCS4sObBfhTVY9vm1%252BSnWminqivhA&__v=ios4.10&__d=d14ryS0MFUAhfrQ6rPJ9Gziisg%2F9Cf8CxgkzZw5AkPMbPcbv%2BpM4HpDJlnwAZPd5UyoGA15VrRjnhCT8VdSGZRr1hqySmO%2FA2k1rqKaujWCJ69O%2BOlzJ%2FM3c%2BEAqx14eK17f";
    id = 20206;
    img = "http://img01.bqstatic.com/upload/activity/activity_v4_20206_1452163603_icon.jpg";
    name = "\U62bd\U5956";
 },
 */

@property (nonatomic, copy)   NSString  *customURL;
@property (nonatomic, assign) NSInteger id;
@property (nonatomic, copy)   NSString  *img;
@property (nonatomic, copy)   NSString  *name;

+ (instancetype)initWithDic:(NSDictionary *)dic;
+ (NSArray *)dataWithArray:(NSArray *)dtoArray;

@end

/*  ============================================================  */

#pragma mark - 新年惠部分 -
@interface HBQActivitesModel : NSObject

/*
  customURL = "https://github.com/ZhongTaoTian";
  id = 20575;
  img = "http://img01.bqstatic.com/upload/activity/activity_v4_20575_1452217080_block.jpg@90Q";
  name = "\U5e74\U8d27\U5927\U96c6";
 
 */

@property (nonatomic, copy)   NSString  *customURL;
@property (nonatomic, assign) NSInteger id;
@property (nonatomic, copy)   NSString  *img;
@property (nonatomic, copy)   NSString  *name;


+ (instancetype)initWithDic:(NSDictionary *)dic;
+ (NSArray *)dataWithArray:(NSArray *)dtoArray;

@end






